/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufpr.inf.escel.test.brain;

import br.ufpr.inf.escel.brain.model.DadoTeste;
import br.ufpr.inf.escel.brain.model.Individual;
import br.ufpr.inf.escel.brain.operators.Operadores;
import br.ufpr.inf.escel.brain.operators.OperadoresPO;
import org.junit.Before;
import org.junit.Test;

/**
 *
 * @author gustavo
 */
public class Relacionar {

    private Operadores op;
    private Individual ind1, ind2;
    private DadoTeste dt1, dt2, dt3, dt4, dt5, dt6, dt7, dt8;

    @Before
    public void init(){
        op = new OperadoresPO();
//        dt1 = new DadoTestePP("a");
//        dt2 = new DadoTestePP("b");
//        dt3 = new DadoTestePP("c");
//        dt4 = new DadoTestePP("d");
//
//        dt5 = new DadoTestePP("x");
//        dt6 = new DadoTestePP("y");
//        dt7 = new DadoTestePP("w");
//        dt8 = new DadoTestePP("z");

        ind1 = new Individual();
        ind1.add(dt1);
        ind1.add(dt2);
        ind1.add(dt3);
        ind1.add(dt4);

        ind2 = new Individual();
        ind2.add(dt5);
        ind2.add(dt6);
        ind2.add(dt7);
        ind2.add(dt8);
    }


    @Test
    public void relacionar(){
        op.relacionar(ind1, ind2);
    }

}
